{% extends "base.html" %}
{# Page d'inscription #}

{% block title %}{% endblock %}

{% block content %}
		<p>Welcome to new ctr4ever!<br/><br/>
		The site of all records on Crash Team Racing trial time!<br/><br/>

		This site collects times of players from all over the world, times have to be made without cheat neither save states, and only in time trial mode.<br/>
        </p>
		
		<div id="history_container">
			<h3>Recent activity</h3>
			{% for n in news %}
				<div class="history_block">
				{% if n.action==1 %}
					<img src="media/img/icons/chrono_{{n.mode.getMode()}}.png" alt="{{n.mode}}" height="18px" />
					<pre style="display:inline">{{n.time}}</pre> {{n.version.getImageHtml()|raw}}
					at <a href="ranking.php?tid={{n.trackName.getId()}}&type={{n.trackType.getId()}}&mode={{n.mode.getId()}}">{{n.trackName}} {{n.trackType}}</a>
					by <a href="profile.php?pid={{n.playerId}}">{{n.playerName}}</a>
					<div class="rank"><b>{{n.rank}}</b></div>
					<div class="date">{{n.date}}</div>
				{% endif %}
				</div>
			{% endfor %}
		</div>
{% endblock content %}